package com.sevennotes.classtable.utils

class Debug(private var onMsg: (String) -> Unit) {
    var num: Int = 0
    fun sendMsg(msg: String) {
        if (num <= 1000) num++ else num = 0
        onMsg("$num: $msg")
    }
}